home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
txtedtrs
/
pksmastr
/
master
< prev
next >
Wrap
Text File
|
1995-05-02
|
10KB
|
237 lines
Master Macro Data for PKS-WRITE - Valent translation 11/21/92 27.02.1992
=========================================================================
Comment lines begin with an empty space or tab
Keycode commands for macros
---------------------------
Command Form:
Keycode Function(Parameter)[Function(Parameter)] "<description>"
Keycodes:
[Special key]Action key/Key
Special keys:
A Alternate
C Control
L Left shift key
R Right shift key
S Both shift keys
# Numeric keypad
Special action keys:
Up, Down, Left, Right (Cursor Keys)
Backspace, Tab, Enter, Insert, ClrHome, Return, Help, Undo, Esc, Delete
F1, F2 ... F10 (Function Keys)
Space (Spacebar)
=========================================================================
Window
------
[C]4 wisize(0,50,100,50) "Full-width window at bottom of screen"
[C]5 full() "Full-screen PKS window"
[C]Q wiclose() "Close window -- Quit PKS-Write"
=========================================================================
Cursor Position
---------------
[L]ClrHome cgoto(%,$) "Cursor to end of text"
[C]ClrHome cgoto(0,0) "Cursor to beginning of text"
[L]Up cgoto(T,0) "Cursor to top of window"
[L]Down cgoto(t,0) "Cursor to bottom of window"
[C]Up cupdown(-f) "Page up"
[C]Down cupdown(f) "Page down"
[L]Left cgoto(z,0) "Cursor to beginning of line"
[L]Right cgoto(z,$) "Cursor to end of line"
=========================================================================
Display Modes
-------------
[C]O mode(0,0) "Turn off control codes display"
[C]A mode(1,1) "Show/hide text attributes"
[A], mode(2,1) "Show/hide line ends and tabs"
[C#]* mode(4,1) "Long control codes on/off"
[A]\ mode(32,1) "Show/hide parameters"
[A]. mode(16,1) "control codes short/long"
[AC]H mode(8,1) "Show/hide hyphenation"
[C]Help mode(64,1) "Show/hide status header"
[L]Help showmac() "Display macro help list"
=========================================================================
Control Codes Insertion
-----------------------
[L]Space insc([fs]) "Insert hard space (ASCII 5)"
[CL]~ insc(3) "Insert visible hyphen indicator (ASCII 3)"
[C#]- insc(27) "Insert invisible hyphen indicator (ASCII 27)"
inslay(28) "Lock text (protect from column break)"
[ACL]L inslay([la]) "Insert last text style"
[ACL]V inslay([ru]) "Insert last ruler"
[C]R inslay(26) "Insert non-printing remarks"
[#]- insc(254) "Insert em-dash (ASCII 254)"
- insc(252) "Insert hyphen (ASCII 252)"
[A]- insc(253) "Insert en-dash (ASCII 253)"
[A#]- insc(45) "Insert minus sign (ASCII 45)"
[C#]. insagain() "Copy last inserted text"
Return insc(10) "End paragraph (ASCII 10)"
[#]Enter insc(10) "End paragraph (ASCII 10)"
[C]Return insc(29) "Variable paragraph end (ASCII 29)"
[L]Return insc(23) "Fixed line end (ASCII 23)"
[C]1 insc(171) "Insert opening quote 1 (ASCII 171)"
[AC]1 insc(170) "Insert closing quote 1 (ASCII 170)"
[C]2 insc(96) "Insert opening quote 2 (ASCII 96)"
[AC]2 insc(39) "Insert closing quote 2 (ASCII 39)"
[ACL]Right insc(11) "Insert forced piping (ASCII 11)"
=========================================================================
Text Editing
------------
Insert option(4) "Insert/Overwrite toggle"
[CL]F bmark(A,0,a,$)format() "Format paragraph"
Backspace delc(-1) "Backspace delete"
Delete delc(1) "Delete"
[C]Delete bstart()cword(1)\ "Delete word"
bend()bdel()
[C]Backspace bend()cword(-1)\ "Delete last word"
bstart()bdel()
[L]Delete bmark(z,s,z,$)bdel() "Delete to end of line"
[L]Backspace bmark(z,0,z,s)\ "Delete to beginning of line"
bdel()
[R]Delete bmark(z,0,z,$)bdel()\ "Delete line?"
delc(1)
[AC]T bstart()cword(1)\ "Transpose word to right"
bend()bdel()\
cword(1)undo()
[C]T bstart()cleftright(1)\ "Transpose letter"
bend()bdel()\
cleftright(1)undo()
Undo undo() "Undo last block deletion"
[ACL]M Restyle() "Change text block's style"
=========================================================================
Block Functions
---------------
[C#]Enter bmark(A,0,a,$) "Mark paragraph"
[C]C bcopy() "Copy block"
[C]U bhide() "Unmark block"
[C]P bpaste() "Paste block"
[C]D bdel() "Delete block"
[C]X cutblock() "Cut block"
=========================================================================
Search Functions
----------------
[CL#]1 findlay([la],-1) "Find last style code"
[CL#]2 findlay([ru],-1) "Find last text ruler"
[CL#]6 findlay([ch],-1) "Find last chapter code"
[CL#]7 findlay([pb],-1) "Find last forced piping"
[C]F find(1) "Continue forward search"
[C]B find(-1) "Continue backward search"
=========================================================================
Miscellaneous
-------------
[C]Z Fontlist() "Edit font list"
[C]E Modlay() "Edit control code"
[LC]Z Option(0) "Save PKS-Write setup"
=========================================================================
PKS Write v 1.00 "m" codes for macros
'*' identifies commands in existing macro set
---------------------------------------------
mcodes must be at left margin to be activated
m0 [ACL]U flow text into editor
m1 send text into text frame*
m2 [ACL]X delete all text
m3 undo last text deletion*
m4 [ACL]Undo undo block operation
m5 send text into text frame*
m6 " *
m7 [ACL]A abandon all changes
m8 send text into text frame*
m9 flow text into editor(?)*
m10 send text into text frame*
m11 close window - send text into text frame*
m12 close window - abandon text*
m13 [ACL]Z dialog - control code display
m14 show style parameters*
m15 control codes long/short*
m16 redraws window - can't find what it actually does
m17 dialog - search/replace*
m18 continue forward search*
m19 [R#]1 cursor to next style
m20 [R#]2 cursor to next ruler
m21 [R#]3 cursor to next manual kerning
m22 [R#]4 cursor to next page number
m23 [R#]5 cursor to next following page number
m24 [R#]6 cursor to next chapter number
m25 [R#]7 cursor to next forced piping
m26 [R#]8 cursor to next reference to previous page
m27 [R#]9 cursor to next reference to next page
m28 [R#]0 cursor to next index entry
m29 [R#]. cursor to next footnote entry
m30 [ACL]F1 set mark 1
m31 [ACL]F2 set mark 2
m32 [ACL]F3 set mark 3
m33 [ACL]F4 set mark 4
m34 [R]F1 cursor to mark 1
m35 [R]F2 cursor to mark 2
m36 [R]F3 cursor to mark 3
m37 [R]F4 cursor to mark 4
m38 [C]G dialog - go to line #
m39 [R]Backspace cursor to previous position
m40 [ACL]B start text block
m41 [ACL]E end text block
m42 unmark text block*
m43 [R]F5 cursor to beginning of text block
m44 [R]F6 cursor to end of text block
m45 copy text block to buffer(?)*
m46 paste text block*
m47 copy text block*
m48 move text block*
m49 delete text block*
m50 dialog - edit (mandate) text block style*
m51 [CL]Left cursor to beginning of last line of text block
m52 [ACL]O dialog - sort options
m53 [R]+ capitalize block
m54 [R]_ lowercase block
m55 [R]~ capitalize 1st letter of each word in block
m56 no apparent effect
m57 "
m58 [ACL]S dialog - insert text style
m59 [ACL]R dialog - insert text ruler
m60 [ACL]K dialog - insert kerning
m61 [ACL]T insert time
m62 [ACL]D insert date
m63 [ACL]! dialog - current page #
m64 [ACL]@ dialog - next page #
m65 [ACL]C Insert dialog - chapter #
m66 insert forced piping*
m67 [ACL]< dialog - pipe from page
m68 [ACL]> dialog - pipe to page
m69 [ACL]F5 dialog - insert reference marker
m70 [ACL]F6 dialog - set reference marker
m71 [ACL]I insert index entry
m72 [ACL]F insert footnote entry
m73 [C]L dialog - protect text from column break (lock text)
m74 [CR]S delete style(s) from text block
m75 [CR]R delete ruler(s) from text block
m76 [CR]K delete kerning from text block
m77 [CR]! delete page number(s) from text block
m78 [CR]@ delete next page number(s) from text block
m79 [CR]C delete chapter number(s) from text block
m80 [R]Right delete forced piping from text block
m81 [R]< delete piping from page from text block
m82 [R]> delete piping to page from text block
m83 [CR]I delete index entry from text block
m84 [CR]F delete footnote entry from text block
m85 dialog - edit system fonts*
m86 full-screen PKS window*
m87 "
m88 save PKS setup*
m89 redraws window, but I can't find effect
m90 not used
==========================================================
Dateiende